package cn.itcast.mapper;

import cn.itcast.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;


public interface OrderSettingMapper {

    void add(OrderSetting os);

    void editNumberByOrderDate(OrderSetting os);


    List<Map> getOrderSettingByMonth(String begin,String end);


    OrderSetting findByOrderDate(Date date);

    //更新已预约人数
    void setRe(OrderSetting orderSetting);


    void setReservations(int i);

    List<Map<String, Object>> findAll();

}
